import request from '@/utils/request'

// 资产总数
export function getAssetCount(params) {
  return request({
    url: '/business/assetAnalysis/selectAssetNum',
    method: 'get',
    params
  })
}

// 所在位置
export function getAssetLocation(params) {
  return request({
    url: '/business/assetAnalysis/selectAssetLocation',
    method: 'get',
    params
  })
}

// 资产状态
export function getAssetStatus(params) {
  return request({
    url: '/business/assetAnalysis/selectAssetStatus',
    method: 'get',
    params
  })
}

// 类型比例
export function getAssetType(params) {
  return request({
    url: '/business/assetAnalysis/selectAssetType',
    method: 'get',
    params
  })
}

// 产权归属
export function getAssetOwnership(params) {
  return request({
    url: '/business/assetAnalysis/selectAssetProperty',
    method: 'get',
    params
  })
}
// 账面原值
export function getAssetBookValue(params) {
  return request({
    url: '/business/assetAnalysis/selectAssetBookValue',
    method: 'get',
    params
  })
}

// 出租趋势
export function getAssetRentTrend(params) {
  return request({
    url: '/business/assetAnalysis/selectAssetRentNum',
    method: 'get',
    params
  })
}

// 变更类型
export function getAssetChangeType(params) {
  return request({
    url: '/business/assetAnalysis/selectAssetChangeType',
    method: 'get',
    params
  })
}

// 闲置Top5
export function getAssetIdleTop5(params) {
  return request({
    url: '/business/assetAnalysis/selectAssetTop5',
    method: 'get',
    params
  })
}
